package com.example.week9_spring_aop.apis;

import com.example.week9_spring_aop.apis.impl.ApiForTestImpl;
import com.example.week9_spring_aop.exception.TestException;

public interface ApiForTest {
    public enum RunMode {
        Normal,
        Exception
    }
    void TestApi(ApiForTestImpl.RunMode runMode, Long sleepTime) throws InterruptedException, TestException;
}
